﻿using System;
using System.Collections.Generic;
using System.Linq;


namespace Pharmacy.Ultilities
{
    public partial class Enums
    {
        /// <summary>
        /// Enum is used in structure of menu in Main menu of FrmMain
        /// </summary>
        public enum MenuType
        { 
            Page = 1,
            Group,
            Item,
            SubItem
        }

        #region For ViewManager
        public enum WindowAction
    {
        None = 0,
        Show = 1,
        Close = 2
    }

        public enum PopUpItems
        {
            GETSIMILARITEM = 1,
            SHOWITEMDETAIL = 2,
            SERIALOFITEM = 3,
            BATCHOFITEM = 4,
            SUPPLYDEMAND = 5,
            CASEPACKREPACKINVENTORY = 6,
            CROSSTABINVENTORYREPOR = 7,
            ITEMPRICE = 8,
            PRINTBARCODE = 9,
            SEARCHITEM = 10
        }
        #endregion

        public enum ActionForm
        { 
            None = 0,
            View ,
            New,
            Edit            
        }

        public enum GeneratorObjectType
        {
            ManufacturerGenerator = 1,
            VendorGenerator,
            CustomerGenerator,
            EmployeeGenerator,
            MasterItemGenerator,
            PhieuBaoGiaGenerator,
            MasterLocationGenerator,
            PhieuDatHangGenerator,
        }

        public enum UnitOfMeasureType
        {
            COUNT = 1,
            WEIGHT = 2,
            LENGTH = 3,
            AREA = 4,
            VOLUME = 5,
            TIME = 6

        }

        #region Phieu Dat Hang
        public enum PhieuDatHangStatus
        { 
            New = 1,
            Fullfilled =2,
            Partial = 3,
            Cancel =4,
            Draft =5
        }
        #endregion
    }
}
